Skip to main content

All Questions

5votes
2answers
520views

Frequency Queries (Hackerrank)

This is the problem: You are given queries. Each query is of the form two integers described below: 1 x: Insert x in your data structure. 2 y: Delete one occurrence of y from your data ...
daksh bhardwaj's user avatar
7votes
1answer
1kviews

Code Challenge: Catching Car Mileage Numbers - 4 kyu Kata from CodeWars

Challenge Story: "7777...8?!??!", exclaimed Bob, "I missed it again! Argh!" Every time there's an interesting number coming up, he notices and then promptly forgets. Who doesn't like catching ...
user166286's user avatar
-2votes
3answers
1kviews

Find first non repeated character in the string

Given a string, write a program to find the first non repeated character in the string. Assume that the given string only contains ASCII chars. Examples can be ...
CodeYogi's user avatar

close